package Java攻略._3_流式操作._3_利用reduce方法实现归约操作;

import java.util.stream.Collectors;
import java.util.stream.Stream;

public class _26_利用Collectors_joining连接字符串 {

    public static void main(String[] args) {

        String s = Stream.of("this", "is", "a", "list")
                .collect(Collectors.joining());

        System.out.println(s);
    }
}
